﻿using System;
using System.Collections.Generic;
using DevFramework.Core.DataAccess;
using DevFramework.Entities.Concrete;
using DevFramework.Entities.ComplexType;
using NHibernate.Mapping;

namespace DevFramework.DataLayer.Abstract
{
    public interface IProductDal : IEntityRepository<Product>
    {
        List<ProductDetail> GetWithCategory();
        List<Product> GetWithSp(int unitInStock);
        void UpdateDate();
        List<Product> Search(Func<Product, bool> deleg);
    }
}
